﻿#include "../Common/CEditor.h"
#include "CItemEditor.h"

extern "C" __declspec(dllexport) CEditor* GetObj();
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
	switch(reason)
	{
	case DLL_PROCESS_ATTACH:
		break;
	case DLL_PROCESS_DETACH:
		break;
	case DLL_THREAD_ATTACH:
		break;
	case DLL_THREAD_DETACH:
		break;
	}

	return 1;
}

CEditor* GetObj()
{
	static CItemEditor p;
	return &p;
}